]> dgit.raspbian.org Git - openjdk-25.git/commitdiff
hotspot-mips-align
authorOpenJDK Team <openjdk-25@packages.debian.org>
Wed, 22 Jul 2026 00:23:02 +0000 (12:23 +1200)
committerVladimir Petko <vladimir.petko@canonical.com>
Wed, 22 Jul 2026 00:23:02 +0000 (12:23 +1200)
Gbp-Pq: Name hotspot-mips-align.diff

src/hotspot/cpu/zero/zeroInterpreter_zero.cpp

index 029ccbded136613ad6e3d28c09b5d66147cf98ca..252fd302ce82b7fd3fad60975705299cf6200e44 100644 (file)
@@ -433,7 +433,7 @@ int ZeroInterpreter::native_entry(Method* method, intptr_t UNUSED, TRAPS) {
   ThreadStateTransition::transition_from_java(thread, _thread_in_native);
 
   // Make the call
-  intptr_t result[4 - LogBytesPerWord];
+  intptr_t result[4 - LogBytesPerWord] __attribute__((__aligned__(__alignof__(double))));
   ffi_call(handler->cif(), (void (*)()) function, result, arguments);
 
   // Change the thread state back to _thread_in_Java and ensure it